package com.mcxx.modules.temporary.family.dao.read;

import com.mcxx.modules.miniSalvation.family.dto.FamilyMemberDTO;
import com.mcxx.modules.system.dto.ConfirmListMemberDTO;
import com.mcxx.modules.temporary.family.dto.TmpFamilyMemberDTO;
import com.mcxx.modules.temporary.family.entity.TmpFamilyMemberHistoryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TmpFamilyMemberHistoryReadDao {


	List<TmpFamilyMemberHistoryEntity> listAll();



	TmpFamilyMemberHistoryEntity getById(String id);

	TmpFamilyMemberDTO getByIdAndBusinessCode(@Param("id")String id, @Param("businessCode")String businessCode);


    List<TmpFamilyMemberHistoryEntity> listByOrderId(String orderId);


	List<TmpFamilyMemberDTO> getByFamilyId(String familyId, String orderId, String isSaveObject);

	List<ConfirmListMemberDTO> selectConfirmMemberDTO(String orderId);
}
